package ren.renshuaipeng.auth.domain.auth;

import ren.renshuaipeng.auth.domain.SuperBase;

import javax.persistence.Entity;

/**
 * ClassName: SysOprLog<br/>
 * Function: 操作日志. <br/>
 * Date: 2015/12/15 11:19<br/>
 *
 * @author 任帅鹏（作者）
 * @version V1.00 （版本号）
 * @see
 * @since JDK 1.8
 */
@Entity
public class SysOprLog extends SuperBase {

	private static final long serialVersionUID = 1L;
	private Integer logType; //1新增2修改3删除
	private String logInfo;
	private String userId;
	private String userName;
	private String logIp;
	private Long createTime;

	/**
	 * getter method
	 * 
	 * @return the logType
	 */
	public Integer getLogType() {
		return logType;
	}

	/**
	 * setter method
	 * 
	 * @param logType
	 *            the logType to set
	 */
	public void setLogType(Integer logType) {
		this.logType = logType;
	}

	public String getLogInfo() {
		return logInfo;
	}

	public void setLogInfo(String logInfo) {
		this.logInfo = logInfo;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * getter method
	 * 
	 * @return the userName
	 */

	public String getUserName() {
		return userName;
	}

	/**
	 * setter method
	 * 
	 * @param userName
	 *            the userName to set
	 */

	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * getter method
	 * 
	 * @return the logIp
	 */

	public String getLogIp() {
		return logIp;
	}

	/**
	 * setter method
	 * 
	 * @param logIp
	 *            the logIp to set
	 */

	public void setLogIp(String logIp) {
		this.logIp = logIp;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
}
